﻿using System;
namespace GtsServer.Model
{
	/// <summary>
	/// 1
	/// </summary>
	[Serializable]
	public partial class TaskPrize
	{
		public TaskPrize()
		{}
		#region Model
		private int _id;
		private int _prizeid;
		private int _taskid;
		private string _remark;
		private bool? _isbest;
        private int _prizeCount;
        private int _startCount;
        private int _endCount;

        public int EndCount
        {
            get { return _endCount; }
            set { _endCount = value; }
        }

        public int StartCount
        {
            get { return _startCount; }
            set { _startCount = value; }
        }

        public int PrizeCount
        {
            get { return _prizeCount; }
            set { _prizeCount = value; }
        }
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 物品id
		/// </summary>
		public int PrizeID
		{
			set{ _prizeid=value;}
			get{return _prizeid;}
		}
		/// <summary>
		/// 任务id
		/// </summary>
		public int TaskID
		{
			set{ _taskid=value;}
			get{return _taskid;}
		}
		/// <summary>
		/// 说明
		/// </summary>
		public string Remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 是否是最高奖励
		/// </summary>
		public bool? IsBest
		{
			set{ _isbest=value;}
			get{return _isbest;}
		}
		#endregion Model

	}

    public class TaskPrizeShow : TaskPrize
    {
        private string _prizeName;

        public string PrizeName
        {
            get { return _prizeName; }
            set { _prizeName = value; }
        }
    }
}

